
#include <vector>
#include <algorithm>

class tools
{
public:
    void stlSorting(std::vector<int> &a)
    {
        std::sort(a.begin(), a.end());
    }
    void bubbleSorting(std::vector<int> &a)
    {
        for (int i = 0; i < a.size(); i++)
            for (int j = 1; j < a.size(); j++)
                if (a[j - 1] > a[j]) std::swap(a[j - 1], a[j]);
    }
};
int main()
{
    tools T;
    std::vector<int> a = {4, 2, 3, 5, 1};
    std::vector<int> b = {4, 2, 3, 5, 1};
    T.stlSorting(a);
    T.bubbleSorting(b);
}